﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="VoteMS.UI.Update" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="row">
                <div class="col-md-3">项目编号：</div>
                <div class="col-md-5">
                    <asp:Label runat="server" ReadOnly="True" ID="labelProjectID" />
                </div>
            </div>
            <div class="row">
                <div class="col-md-3">项目名称：</div>
                <div class="col-md-5">
                    <asp:TextBox runat="server" ID="txtProjectName" />
                </div>
            </div>
            <div class="row">
                <div class="col-md-3">项目类型：</div>
                <div class="col-md-5">
                    <asp:DropDownList runat="server" ID="ddlTypeID" DataTextField="TypeName" DataValueField="TypeID">
                        <asp:ListItem Text="====请选择类别====" Value="0" />
                        <%-- <asp:ListItem Text="党建和精神文明类" Value="1" />
                             <asp:ListItem Text="公共管理类" Value="2" />
                             <asp:ListItem Text="经济建设类" Value="3" />--%>
                    </asp:DropDownList>
                </div>
            </div>
            <div class="row">
                <div class="col-md-3">所属部门：</div>
                <div class="col-md-5">
                    <asp:TextBox runat="server" ID="txtProjectDepart" />
                </div>
            </div>
            
            <div class="row">
                <div class="col-md-3">项目图片：</div>
                <div class="col-md-5">
                    <asp:FileUpload runat="server" ID="fileProjectImage" />
                    <asp:Label runat="server" ID="labelProjectImg"  />
                </div>
            </div>
           
            <div class="row">
                <div class="col-md-3">项目简介：</div>
                <div class="col-md-5">
                    <asp:TextBox runat="server" ID="txtProjectInfo" Rows="6" Columns="35" TextMode="MultiLine" />
                </div>
            </div>
            <div class="row">
                <div class="col-md-3">得票数：</div>
                <div class="col-md-5">
                    <asp:Label runat="server" ID="labelProjectNumber" ReadOnly="True"  />
                </div>
            </div>
            <div class="row">
                <div class="col-md-3">
                    <asp:Button runat="server" ID="btnSave" Text="保存" OnClick="btnSave_Click" />
                </div>
            </div>
        </div>
    </form>
    <script src="Scripts/jquery-1.10.2.min.js"></script>
    <script src="Scripts/bootstrap.min.js"></script>
</body>
</html>
